<template>
  <a-locale-provider :locale="locale">
    <div id="app">
      <loader :spinning="spinning" fullScreen></loader>
      <router-view />
    </div>
  </a-locale-provider>
</template>
<script lang="ts">
import { Component, Vue } from "vue-property-decorator";
import { Action, Getter } from "vuex-class";
import zhCN from "ant-design-vue/lib/locale-provider/zh_CN";
import { Loader } from "@/components";
@Component({
  components: { Loader }
})
export default class App extends Vue {
  locale = zhCN;
  @Getter("spinning")
  private spinning: any;
}
</script>
